Skip to content

opencode config: workhorse Luna seat round-robins medium/high via luna-effort-rr (Drew 2026-11-12) - #9018

Merged
dezren39 merged 1 commit into
mainfrom
fleet/luna-effort-rr-2026-11-12
Nov 12, 2026
Merged

dezren39 merged 1 commit into
mainfrom
fleet/luna-effort-rr-2026-11-12

Conversation

@dezren39

@dezren39 dezren39 commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Drew direct order, 2026-11-12 14:30 CST: gather outcome data on Luna medium vs high under real workhorse load.

Why

The workhorse Luna seat measured sufficient at #high (99.87% success on 48,705 route attempts since 2026-11-11), but Luna #medium has zero route attempts in 30 days — there is no fleet data on it either way. This change is the data-gathering mechanism: the in-production form of the A/B pilot tracked in #1191, which never ran. route_attempt records the resolved variant per call, so both rungs accumulate comparable success / latency / burn records from the same traffic.

What changes (.opencode/opencode.jsonc only)

  • New route luna-effort-rr (seated directly after luna-plan): round-robin over openai-plan/gpt-6-luna#medium and openai-plan/gpt-6-luna#high. AA v5.0.1: medium II 18, high II 21. The route proxy rotates a nested round-robin route's lead candidate per resolution, so workhorse calls alternate rungs; each target pins its own variant.
  • workhorse-weighted: the Luna member moves from the bare leaf openai-plan/gpt-6-luna#high to opencode-route/luna-effort-rr, weight unchanged (10) (weight keys are the member ref as written, per bin/opencode-route-proxy.mjs). Pool name and dated comments updated.

Before → after for that member:

Before After
target openai-plan/gpt-6-luna#high opencode-route/luna-effort-rr
weight 10 10
serving leaf Luna, always #high Luna, alternating #medium / #high

Deliberately untouched

  • luna-plan itself (round-robin over openai-plan w2.5 / opendesign / opencode-go-plans w6, caller-set effort) and its one live consumer, small-100k at luna-plan#xhigh.
  • Every other pool: specialist seats no direct Luna leaf in current main (its old #xhigh leaves survive only as history in comments), and workhorse-primary currently wraps an empty target list — neither is changed here.

Guard

  • Canonical checks pass: check-opencode-metered-providers, check-opencode-route-rules (workhorse tier resolves 17 effort-pinned candidates, both Luna rungs included).
  • Test suite: 182/182 pass, 0 fail (node --test over the metered-providers, go-seating, route-rules, provider-catalog-sync, provider-catalog-snapshot, sync-models, and route-proxy suites).

No service restarts: deployment rides the normal deploy / coordinated-switch path.


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@dezren39
dezren39 requested a review from a team as a code owner November 12, 2026 20:37
@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 31 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3c0a791c-3c19-4b22-bc44-70b4dc63ec06
Commits

Reviewing files that changed from the base of the PR and between 772e623 and 35096a6.

Files selected for processing: 1

  • .opencode/opencode.jsonc
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@dezren39
dezren39 merged commit 47fe706 into main Nov 12, 2026
10 checks passed
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T20:38:16.182708Z 35096a6 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant